﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<VideoBlog.Web.Models.IndexViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
   Featured playlist: <%= Model.Featured.Title %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="cphCarousel" runat="server">
    <h1>Featured playlist: <span class="title"><%= Model.Featured.Title %></span></h1>
    <div id="carousel" class="clearfix">
        <% Html.RenderPartial("Player", Model.Featured); %>
    </div>
</asp:Content>    

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="indexcolumnwide indexcolumn marginright">
     <div class="h1"><%= Model.IntroductionTitle %></div>
     <div class="clearfix standardtext margtop">
     <% Html.RenderPartial("Sharethis"); %>
     <%= Model.IntroductionText %><%= Model.IntroductionText %> <%= Model.IntroductionText %> <%= Model.IntroductionText %> <%= Model.IntroductionText %><%= Model.IntroductionText %><%= Model.IntroductionText %>
     
     </div>
     <div class="spacer topborder">
        
    </div>
    <div class="indexcolumn marginright">
        <% Html.RenderPartial("CategoryPlaylistSummary", new VideoBlog.Web.Models.CategorySummaryViewModel(Model.FrontPageCategory)); %>
    </div>
    <div class="indexcolumn">
        <% Html.RenderPartial("CategoryVideosSummary", new VideoBlog.Web.Models.CategorySummaryViewModel(Model.FrontPageCategory)); %>
    </div>
</div>
    
    <div class="indexcolumn indexcolumnwider">
        <script type="text/javascript"><!--
google_ad_client = "ca-pub-9878748999350898";
/* 320Box-rational */
google_ad_slot = "4844942477";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>

                 
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
</asp:Content>

<asp:Content ID="nav" runat="server" ContentPlaceHolderID="cphNavigation">
<% Html.RenderPartial("Navigation",Model.FrontPageCategory != null ? Model.FrontPageCategory.CategorySlug : string.Empty); %>
</asp:Content>